package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：碳中和规划
 * @Date：Create by 2023-11-23 16:28:52
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = true)
@TableName("ecp_tt_carbon_neutrality_plan")
public class CarbonNeutralityPlanEntity extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;

//    /*规划配置类型(1: 项目规划，2:楼层空间规划)*/
//    private String planType;

    /* 项目Id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneProjectId;

//    /* 楼栋Id */
//    private String sceneEdificeId;
//
//    /* 所属楼层 */
//    private String sceneFloorId;
//
//    /*所属空间*/
//    private String sceneRoomId;

    /* 生效开始日期 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private LocalDate effectiveTimeStart;

    /* 生效结束日期 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private LocalDate effectiveTimeEnd;

    /*规划碳排 */
    private BigDecimal planCarbonEmissions;

    /*规划零碳 */
    private BigDecimal planCarbonZero;

    /*规划碳汇*/
    private BigDecimal planCarbonSequestration;

    /* 规划碳中和 */
    private BigDecimal planCarbonNeutrality;

    /* 机构Id */
    private String deptId;

}
